package com.chenjiagou.ordertickets.entity;

import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * (Booking)实体类
 *
 * @author makejava
 * @since 2025-06-27 08:55:52
 */
@Data
public class Booking implements Serializable {
    private static final long serialVersionUID = -97100027691499163L;
/**
     * 订单ID
     */
    private Long id;
/**
     * 订单编号
     */
    private String bookingNo;
/**
     * 用户ID
     */
    private Long userId;
/**
     * 航班ID
     */
    private Long flightId;
/**
     * 舱位ID
     */
    private Long seatClassId;
/**
     * 状态（0:待支付,1:已付定金,2:已全款,3:出票,4:取消）
     */
    private Integer status;
/**
     * 总金额
     */
    private Double totalAmount;
/**
     * 已付定金
     */
    private Double depositPaid;
/**
     * 过期时间
     */
    private Date expireTime;
/**
     * 创建时间
     */
    private Date createdAt;

}

